package com.chinacoal.hr.levelimpl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinacoal.hr.levelapi.entity.AttendanceAppeal;

import java.util.Map;

/**
 * @author: YunTao.Li
 * @create: 2019-11-14 11:34
 * @description: 考勤申诉service接口
 **/
public interface AttendanceAppealService {
    public IPage<AttendanceAppeal> getAttendanceAppealList(Map<String, Object> condition);

    public AttendanceAppeal getAppealByCondition(Map<String, Object> condition) throws Throwable;

    public Map<String, String> addAttendanceAppeal(AttendanceAppeal record) throws Throwable;

    public Map<String,String> updateAttendanceAppeal(AttendanceAppeal record) throws Throwable;

    public Map<String, String> submitAttendanceAppeal(AttendanceAppeal record) throws Throwable;

    public Map<String, String> drawbackAttendanceAppeal(AttendanceAppeal record) throws Throwable;

    public Map<String, String> deleteAttendanceAppeal(String explainId) throws Throwable;
}
